cmake_minimum_required(VERSION 3.5.1)

project(kisql)

add_executable(kisql main.c)

#add sub director
add_subdirectory(function)

#add lib
target_link_libraries(kisql func)
target_link_libraries(kisql -L/usr/lib/mysql -lmysqlclient)

#add include path
include_directories(./function)
include_directories(/usr/include/mysql)